DataSource for Entity Framework in WPF
C1.Data Namespace / ClientView<T> Class / AsFilteredBound<TKey> Method
The type of the value used for filtering.
A function that returns a key value for filtering given a view item.

In This Topic
    AsFilteredBound<TKey> Method
    In This Topic
    Filters the view on the server using a key selector function and configurable value and operator.
    Syntax
    'Declaration
     
    Public Overridable Function AsFilteredBound(Of TKey)( _
       ByVal keySelector As Expression(Of Func(Of T,TKey)) _
    ) As FilteredView(Of T)
    public virtual FilteredView<T> AsFilteredBound<TKey>( 
       Expression<Func<T,TKey>> keySelector
    )

    Parameters

    keySelector
    A function that returns a key value for filtering given a view item.

    Type Parameters

    TKey
    The type of the value used for filtering.

    Return Value

    A FilteredView<T> that contains elements of this view that have keys satisfying the condition.
    See Also